package design.builder;

/**
 * 客户类，测试
 */
public class Client {
    public static void main(String[] args) {
        Phone phoneA = new Director(new HuaweiBuilder()).construct();
        System.out.println(phoneA.show());
        // -------------------------------------------------------
        Phone phoneB = new Director(new MilletBuilder()).construct();
        System.out.println(phoneB.show());
    }
}
